package changeFinal;

public class Demo1 {
    final Demo2 x=new Demo2("demo2");

    @Override
    public String toString() {
        return "Demo1{" +
                "x=" + x +
                '}';
    }
}
